package com.lytxmd.boxtest.ui.main;

import com.lytxmd.boxtest.http.ApiConstant;
import com.lytxmd.boxtest.http.HttpManager;
import com.zhy.http.okhttp.request.RequestCall;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by zhangyinglong on 2017/5/16.
 */
public class MainModelImpl implements MainContract.MainModel {

    @Override
    public RequestCall getDeviceInfo(String deviceNumStr) {
        Map<String,String> params = new HashMap<>();
        params.put("deviceNumberStr",deviceNumStr);
        return HttpManager.doGet(ApiConstant.URL + "/queryDebugDeviceInfo", params);
    }
}
